<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<h2 class="contentTitle">编辑团队信息</h2>
 
<div class="pageContent">
	
	<form method="post" action="User_Save" class="pageForm required-validate"  onsubmit="return validateCallback(this, navTabAjaxDone);">
		<div class="pageFormContent nowrap" layoutH="97">
		    <dl>
				<input type="hidden" name="editorType" value="${editorType}" />
				<dt>用户账号：</dt>
				<dd>
					<input type="text" name="user.userid" value="${user.userid}" <s:if test="editorType=='modify'">readonly</s:if> class="required" />  <!-- required Userid -->
				
				</dd>
			</dl>
			<dl>
				<dt>用户名：</dt>
				<dd>
					<input type="text"  name="user.username" value="${user.username}"  class="required" />  <!-- required Username -->

				</dd>
			</dl>
			<dl>
				<dt>密码：</dt>
				<dd>
					<input type="text"  name="user.password" value="${user.password}"  class="required alphanumeric" minlength="6" maxlength="20"/>  <!-- required Password -->

				</dd>
			</dl>
			<dl>
				<dt>工号：</dt>
				<dd>
					<input type="text"  name="user.cardid" value="${user.cardid}"  class="" />  <!--  required Cardid -->

				</dd>
			</dl>
			<dl>
				<dt>性别：</dt>
				<dd>
					<input type="text"  name="user.sex" value="${user.sex}"  class="" />  <!-- required Sex -->

				</dd>
			</dl>
			<dl>
				<dt>手机：</dt>
				<dd>
					<input type="text"  name="user.tel" value="${user.tel}"  class="" />  <!-- required Tel -->

				</dd>
			</dl>
			<dl>
				<dt>备注：</dt>
				<dd>
					<textarea cols="30" rows="3" name="user.description"  class="" minlength="0" maxlength="255">${user.description}</textarea>  <!-- required Description -->

				</dd>
			</dl>
			
			<dl>
				<dt>操作人员：</dt>
				<dd>
					<input type="text" name="user.recorder" value="${session.uname}" class="" readonly="readonly"/>   <!-- required Recorder -->
					
				</dd>
			</dl>
	<!-- 	........................................... -->
			<dl>
				<dt>角色类型：</dt>
				<dd>
					<select name="user.roleid" >	
						<option value="2">助管</option>
						<option value="1">超级管理员</option>
					</select>
				</dd>
			</dl>


		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">提交</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
			</ul>
		</div>
	</form>
	
</div>

